package com.example.talkheart.database

import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import androidx.room.Update
import com.example.talkheart.entity.ScoreBean
import com.example.talkheart.entity.TeacherBean

@Dao
interface ScoreDatabaseDao {
    @Insert
    fun insert(score : ScoreBean)
    @Update
    fun update(score: ScoreBean)
    @Query("SELECT * FROM score_table")
    fun queryAll(): List<ScoreBean>
}